Total Complexity | 34 |
Dependencies | 15 |
Dependents | 3 |
Total lines | 211 |
Lines of code | 138 |
Logical lines of code | 83 |
Comment lines | 24 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
calculateRulesForProduct() | 49 | 10 | 28 | |
buildRawRule() | 55 | 7 | 19 | |
getAddonsFromCartItem() | 53 | 6 | 22 | |
buildRawRoleDiscounts() | 60 | 3 | 14 | |
buildRawProductRangeAdjustmentHandler() | 57 | 2 | 17 | |
removeKeysFromFreeCartItem() | 63 | 1 | 12 | |
removeKeysFromFreeWcCartItem() | 62 | 1 | 12 | |
__construct() | 81 | 1 | 3 | |
register() | 91 | 1 | 2 | |
isActive() | 80 | 1 | 3 | |
buildRawProductAdjustmentHandler() | 71 | 1 | 6 |